<template>
  <div>
    <h1>视频通话示例</h1>
    <div>
      <h2>本地视频</h2>
      <video ref="localVideoRef" autoplay></video>
    </div>
    <div>
      <h2>远程视频</h2>
      <video ref="remoteVideoRef" autoplay></video>
    </div>
  </div>
</template>

<script setup>
import useWebRTC from "../useWebRTC";
const { localVideoRef, remoteVideoRef } = useWebRTC();
</script>

<style lang="scss" scoped></style>
